package com.sinosoft.vaccinetoai.common.enmu.user;

import com.fasterxml.jackson.annotation.JsonValue;
import com.sinosoft.vaccinetoai.common.enmu.IBaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户标识枚举
 */
@AllArgsConstructor
@Getter
public enum UserFlagEnum implements IBaseEnum {

    NEW_USER(0,"新用户"),

    OLD_USER(1,"旧用户（领取过权益）");

    @JsonValue
    private Integer code;

    private String desc;

}
